<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_1400_UNPACK_MANAGEMENT_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        #leftDiv,#middleDiv,#rightDiv{
            margin-top:10px;
        }
        #maxCntTxt,#curCntTxt{
            margin-left:165px;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="col-lg-12 btnDivCss">
        <button class="btn btn btn-info" id="query_btn">查询</button>
        <button class="btn btn-success"  id="save_btn">登记</button>
<!--         <button class="btn btn-success"   id="wrls_btn">整箱登记</button> -->
        <button class="btn btn-primary"  id="clean_btn">清空</button>
        <button class="btn btn-danger"   id="cancel_btn">取消</button>
    </div>
    <div id="leftDiv" class="col-lg-4 col-md-4 col-sm-4" >
        <fieldset>
            <legend><s:message code="WO_INFO_TAG" ></s:message></legend>
        </fieldset>
        <form id="woForm" class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
            <div class="form-group">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="woCateSel">
                    <s:message code="WO_CATE_TAG" />
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <select id="woCateSel" class="form-control" style="width: 100%"></select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="woIdSel">
                    <s:message code="WO_ID_TAG" />
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <select id="woIdSel" class="form-control" style="width: 100%"></select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="outLineMount">
                    下线/计划数量
                </label>
                <div class="col-lg-3 col-md-3 col-sm-3">
                    <input type="text" id="outLineMount" class="form-control" disabled="disabled"/>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-3">
                    <input type="text" id="lineMout" class="form-control" disabled="disabled"/>
                </div>
            </div>
        </form>
    </div>
    <div id="middleDiv" class="col-lg-4 col-md-4 col-sm-4" >
        <fieldset>
            <legend><s:message code="OFFLINE_INFO_TAG" ></s:message></legend>
        </fieldset>
        <form id="proForm" class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
            <div class="form-group">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="mdlIdFk">
                    <s:message code="MDL_ID_TAG" />
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input type="text" id="mdlIdFk" class="form-control" disabled="disabled"/>
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="mtrlProdId" >
                    <s:message code="MTRL_PROD_ID_FK_TAG" />
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input  id="mtrlProdId" class="form-control" disabled="disabled"/>
                </div>
            </div>
            <div class="form-group" >
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="pathId">
                    <s:message code="ROUTE_CODE" />
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input  id="pathId" class="form-control" disabled="disabled" />
                </div>
            </div>
        </form>
    </div>
    <div id="rightDiv" class="col-lg-4 col-md-4 col-sm-4" >
        <fieldset>
            <legend><s:message code="FROMMTRL_INFO_TAG" ></s:message></legend>
        </fieldset>
        <form id="processForm" class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
            <div class="form-group hidden">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="mtrlBoxId">
                    来料箱号
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input  id="mtrlBoxId" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="productId">
                    <s:message code="SHEET_ID_TAG" />
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input id="productId" class="form-control" type="text" value="只录入大写字母和数字" style="color:gray" onfocus="this.value='';this.style.color='black'" onkeyup="this.value=this.value.replace(/[^A-Z0-9]/gi,'');this.value=this.value.toLocaleUpperCase()"/>
                </div>
            </div>

          <%--  <div class="form-group">  
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="lotIdTxt">
                    Lot ID
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input type="text" id="lotIdTxt" class="form-control">
                </div>
            </div>--%>
            <div class="form-group" >
                <%--<label class="control-label col-lg-1 col-md-1 col-sm-1" for="radioOKlb">--%>
                <%--</label>--%>
                <div class="col-lg-3 col-md-3 col-sm-3" style="padding-right: 0px;padding-left: 30px;">
                    <label id="radioOKlb"><input type="radio" name="name" checked  id="radioOK"/>OK</label>
                    <%--<label class="control-label col-lg-1 col-md-1 col-sm-1" for="radioNglb">--%>
                    <%--</label>--%>
                    <label id="radioNGlb"><input type="radio" name="name" id="radioNG"/>NG</label>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <select id="reasonCode" class="form-control"  disabled="disabled" style="width: 100%"></select>
                </div>
            </div>
        </form>
    </div>

    <div class="container col-lg-12 col-md-12 col-sm-12" id="divTop">
        <fieldset>
            <legend>
                <s:message code="VIRTUAL_PRD_INFO_TAG" />
                <button class="btn btn-primary"  id="clean_prd_btn">清空</button>
            </legend>
            <div id="tempProdListDiv"  >
                <table id="tempProdListGrd"></table>
                <div id="tempProdListPg"></div>
            </div>
        </fieldset>
    </div>
</div>
<div id="radioNGDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">
                    <s:message code="QUERY_CONDITION_TAG" />
                </h4>
            </div>
            <!--Modal header-->
            <div class="modal-body">
                <div class="row">
                    <form id="queryMtrlDialog_mtrlForm" class="form-horizontal">
                        <div class="control-group ">
                            <label class="control-label col-sm-4" for="queryMtrlDialog_mtrlProdIDTxt">
                                <s:message code="MTRL_PRODUCT_ID_TAG" />
                            </label>
                            <div class="col-sm-4">
                                <input id="queryMtrlDialog_mtrlProdIDTxt" class="form-control" />
                            </div>
                            <div class="col-sm-4">
									<span id="queryMtrlDialog_helpLineSpn" class="help-inline"> 模糊查询请使用<span style="color: red; font-weight: bold;">*</span>
									</span>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!--Modal body-->
            <div class="modal-footer">
                <a id="radioNGDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
                </a>
                <a id="  " class="btn btn-primary"> <s:message code="QUERY_BTN_TAG" />
                </a>
            </div>
        </div>
    </div>
</div>
<%@ include file="/page/comPage/comJS.html"%>
<script src="js/page/1000/1400.js"></script>
</body>
</html>